package com.eascs.workflow.email.dubbo;

import org.springframework.beans.factory.annotation.Autowired;
import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.notify.constant.ModelResult;
import com.eascs.notify.wechat.WechatNotifier;
import com.eascs.notify.wechat.WechatNotifyRequest;
import com.eascs.notify.wechat.WechatNotifyResponse;
import com.eascs.workflow.email.service.WechatNotifierService;

@Service
public class WechatNotifierDubboImpl implements WechatNotifier {
	@Autowired
	private WechatNotifierService wechatNotifierService;

	@Override
	public ModelResult<WechatNotifyResponse> notify(WechatNotifyRequest wechatNotifyRequest) {
		return wechatNotifierService.notify(wechatNotifyRequest);
	}
}